import request from '@/utils/request'

// 查询滞留件管理列表
export function listRetion(query) {
  return request({
    url: '/system/retion/list',
    method: 'get',
    params: query
  })
}

// 查询滞留件管理详细
export function getRetion(id) {
  return request({
    url: '/system/retion/' + id,
    method: 'get'
  })
}

// 新增滞留件管理
export function addRetion(data) {
  return request({
    url: '/system/retion',
    method: 'post',
    data: data
  })
}

// 修改滞留件管理
export function updateRetion(data) {
  return request({
    url: '/system/retion',
    method: 'put',
    data: data
  })
}

// 删除滞留件管理
export function delRetion(id) {
  return request({
    url: '/system/retion/' + id,
    method: 'delete'
  })
}
